package com.example.carapi.service;

import com.example.carapi.bean.CarBrand;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface CarBrandService {
    CarBrand getCarBrandById(Long id);

    List<CarBrand> getCarBrands();

    void addCarBrand(CarBrand carBrand);

    void updateCarBrand(CarBrand carBrand);

    void deleteCarBrandById(Long id);
}
